-
Setup assertion
was updated by Philipp Pirozhkov
Saturday Nov 29
ticket -
command line options
was created by Philipp Pirozhkov
Friday Nov 28
ticket -
html results
was created by Philipp Pirozhkov
02:00 PM
ticket
-
Setup assertion
was created by Philipp Pirozhkov
11:16 AM
ticket
-
Various assertions
was created by Philipp Pirozhkov
11:04 AM
ticket
-
Nesting contexts/shoulds using blocks
was created by Philipp Pirozhkov
11:01 AM
ticket
-
Basic functionality
was created by Philipp Pirozhkov
11:00 AM
ticket
-
Home
was created by Philipp Pirozhkov
10:36 AM
page
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Behave is a testing framework dedicated to test Reia language and libraries
== Usage
Behave.context('A User instance') do
setup do
user = User.find(~first)
should('return its full name') do
assert('John Doe' == user.full_name)
assert('John' == user.name)
assert('Doe' == user.surname)
should('return its email address') do
'JohnDoe@gmail.com' == user.email
context('with a profile') do
user.profile = Profile.find(~first)
should('return true calling .has_profile?') do
user.has_profile()